#ifndef DO_POSTGRESQL

#if !defined(QUERYRESULTMYSQL_H)
#define QUERYRESULTMYSQL_H

#include "Common.h"

#ifdef WIN32
#include <winsock2.h>
#include <mysql/mysql.h>
#else
#include <mysql.h>
#endif

class QueryResultMysql : public QueryResult
{
public:///inherit virtuals
	bool					NextRow();


public:
							QueryResultMysql(MYSQL_RES *result, MYSQL_FIELD *fields, uint64 rowCount, uint32 fieldCount);
							~QueryResultMysql();

private:
    enum Field::DataTypes	ConvertNativeType(enum_field_types mysqlType) const;
    void					EndQuery();

private:
    MYSQL_RES *				mResult;
};
#endif
#endif
